package com.groupbuying.orderconsumer.dao;

import com.groupbuying.orderconsumer.domain.OrderUshopDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 够样优店单订单表
 * @author zmlmagic
 * @email zmlmagic@163.com
 * @date 2019-05-05 01:59:51
 * @des
 */

@Mapper
@Repository
public interface OrderUshopDao {

	OrderUshopDO get(String orderId);
	
	List<OrderUshopDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderUshopDO orderUshop);
	
	int update(OrderUshopDO orderUshop);
	
	int remove(String order_id);
	
	int batchRemove(String[] orderIds);
}
